//
//  JCClubReportMemberListAlertView.m
//  SquashSpark
//
//  Created by 郭吉成 on 2017/12/5.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import "JCClubReportMemberListAlertView.h"

@interface JCClubReportMemberListAlertView()

@property (strong, nonatomic) IBOutletCollection(UIView) NSArray *tipView;
@property (weak, nonatomic) IBOutlet UIButton *confirmBtn;


@end

@implementation JCClubReportMemberListAlertView

- (void)initCode{
    for (UIView *tip in _tipView) {
        tip.layer.cornerRadius = 4;
        tip.layer.masksToBounds = YES;
    }
    _confirmBtn.layer.cornerRadius = 3;
    _confirmBtn.layer.masksToBounds = YES;
    self.layer.cornerRadius = 3;
    self.layer.borderColor = [UIColor yellowColor].CGColor;
    self.layer.borderWidth = 1.5;
}

- (IBAction)confirmAction:(UIButton *)sender {
    if (_dismissHandle) {
        _dismissHandle();
    }
}


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    [self initCode];
}


@end
